package com.tupi.project.http;

import com.tupi.project.bean.BaseBean;
import com.tupi.project.bean.MineInfoBean;
import com.tupi.project.bean.PullToRefreshBean;
import com.tupi.project.bean.UserInfoBean;

import io.reactivex.Flowable;

/**
 * 网络接口
 */

public interface HttpApiInf
{
    /**
     * 登录
     */
    Flowable<BaseBean<String, UserInfoBean>> reqLogin(String phone, String password);
    
    /**
     * 请求用户详情
     */
    Flowable<BaseBean<String, MineInfoBean>> reqUserInfoDetail();
    
    /**
     * 优惠线路
     */
    Flowable<BaseBean<PullToRefreshBean, String>> reqIndexDiscountRoute(int page);
    
    
}
